import request from '@/utils/request';

//获取全部学期信息
export const apiGetSemester = (token) => {
  return request({
    method: 'GET',
    url: `/api/expschedule/semester/auth/get/${token}`,
  })
}

//根据Id获取学期信息
export const apiGetSemesterById = (id,token) => {
  return request({
    method: 'GET',
    url: `/api/expschedule/semester/auth/get/${id}/${token}`,
  })
}